/**
 * Copyright:   领航者
 * @author:      yeyeqing
 * @version:      V1.0
 * @Date:        2015年9月16日 上午11:04:39
 */
package com.bigmodel.vo;

import java.io.Serializable;


public class ResponseResult<T> implements Serializable{

	private int code = 200;//提示代码
	private String msg = "";// 返回信息
	private T data = null;// 返回其他对象信息


	public ResponseResult(){}


	public int getCode() {
		return code;
	}

	public ResponseResult<T> setCode(int code) {
		this.code = code;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public ResponseResult<T> setMsg(String msg) {
		this.msg = msg;
		return this;
	}

	public T getData() {
		return data;
	}

	public ResponseResult<T> setData(T data) {
		this.data = data;
		return this;
	}
}
